package com.woniuxy.yuekeuser.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Freedom
 * @since 2020-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_order")
public class TOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    private String orderType;

    private Integer userId;

    private Integer shopId;

    private Integer commodityId;

    private Double orderPrice;

    private LocalDateTime orderTime;

    private LocalDateTime orderEndtime;

    private String orderState;

    /**
     * 下单时间
     */
    private LocalDateTime downorderTime;


}
